// File generated from our OpenAPI spec by Stainless.

package com.metest.api.models.rest.actuator

import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import com.metest.api.core.jsonMapper
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test

internal class ActuatorBeansResponseTest {

    @Test
    fun create() {
        val actuatorBeansResponse = ActuatorBeansResponse.builder().build()
    }

    @Test
    fun roundtrip() {
        val jsonMapper = jsonMapper()
        val actuatorBeansResponse = ActuatorBeansResponse.builder().build()

        val roundtrippedActuatorBeansResponse =
            jsonMapper.readValue(
                jsonMapper.writeValueAsString(actuatorBeansResponse),
                jacksonTypeRef<ActuatorBeansResponse>(),
            )

        assertThat(roundtrippedActuatorBeansResponse).isEqualTo(actuatorBeansResponse)
    }
}
